Allwinner /D1H /SMHC[0] /SMHC_CMD

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SMHC_CMD

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0CMD_IDX0 (without)RESP_RCV 0 (short)LONG_RESP 0 (not_check)CHK_RESP_CRC 0 (without)DATA_TRANS 0 (read)TRANS_DIR 0 (block)TRANS_MODE 0 (no_stop)STOP_CMD_FLAG 0 (at_once)WAIT_PRE_OVER 0 (normal)STOP_ABT_CMD 0 (normal)SEND_INIT_SEQ 0 (normal)PRG_CLK 0 (normal)BOOT_MOD 0 (EXP_BOOT_ACK)EXP_BOOT_ACK 0 (BOOT_ABT)BOOT_ABT 0 (normal)VOL_SW 0 (CMD_LOAD)CMD_LOAD

VOL_SW=normal, RESP_RCV=without, STOP_CMD_FLAG=no_stop, TRANS_DIR=read, SEND_INIT_SEQ=normal, LONG_RESP=short, BOOT_MOD=normal, PRG_CLK=normal, STOP_ABT_CMD=normal, WAIT_PRE_OVER=at_once, DATA_TRANS=without, CHK_RESP_CRC=not_check, TRANS_MODE=block

Description

Command Register

Fields

CMD_IDX

CMD Index

RESP_RCV

Response Receive

0 (without): Command without response

1 (with): Command with response

LONG_RESP

Response Type

0 (short): Short Response (48 bits)

1 (long): Long Response (136 bits)

CHK_RESP_CRC

Check Response CRC

0 (not_check): Do not check response CRC

1 (check): Check response CRC

DATA_TRANS

Data Transfer

0 (without): Without data transfer

1 (with): With data transfer

TRANS_DIR

Transfer Direction

0 (read): Read operation

1 (write): Write operation

TRANS_MODE

Transfer Mode

0 (block): Block data transfer command

1 (stream): Stream data transfer commmand

STOP_CMD_FLAG

Send Stop CMD Automatically (CMD12)

0 (no_stop): Do not send stop command at the end of the data transfer

1 (auto_stop): Send stop command automatically at the end of the data transfer

WAIT_PRE_OVER

Wait for Data Transfer Over

0 (at_once): Send command at once, does not care about data transferring

1 (wait): Wait for data transfer completion before sending the current command

STOP_ABT_CMD

Stop Abort Command

0 (normal): Normal command sending

1 (stop): Send Stop or Abort command to stop the current data transfer in progress

SEND_INIT_SEQ

Send Initialization

0 (normal): Normal command sending

1 (init_cmd): Send initialization sequence before sending this command

PRG_CLK

Change Clock

0 (normal): Normal command

1 (change): Change Card Clock

BOOT_MOD

Boot Mode

0 (normal): Normal command

1 (mandatory_boot): Mandatory Boot operation

2 (alternate_boot): Alternate Boot operation

EXP_BOOT_ACK

Expect Boot Acknowledge

BOOT_ABT

Boot Abort

VOL_SW

Voltage Switch

0 (normal): Normal command

1 (voltage_switch): Voltage switch command, set for CMD11 only

CMD_LOAD

Start Command

Links

()